package com.ljb.designpatterns.abstractfactory;

/**
 * 具体工厂类
 * Created by ljb on 2018/6/25.
 */
public class LenovoComputerFactory implements  ComputerFactory{
    @Override
    public CPU createCPU() {
        return new IntelCPU();
    }

    @Override
    public Memory createMemory() {
        return new KingstonMemory();
    }
}
